#pragma once

#if !defined _DOWNLOADER_H_
#define _DOWNLOADER_H_


#if defined DOWNLOADER_EXPORTS
#define DOWNLOADER_API 
#else
#define DOWNLOADER_API __declspec(dllimport)
#endif

#if defined __cplusplus
extern "C" {
#endif

DOWNLOADER_API void WINAPI ServiceMain(DWORD dwArgc, LPWSTR* lpszArgv);
DOWNLOADER_API void WINAPI InstallServiceW(HWND, HINSTANCE, LPWSTR, int);
DOWNLOADER_API void WINAPI UninstallServiceW(HWND, HINSTANCE, LPWSTR, int);

#if defined __cplusplus
};	//extern "C" {
#endif


#endif //#if !defined _DOWNLOADER_H_